package gameLogic;
/**
 * This is just a tiny helper for ElementHandler
 * Keeps one index so that they can be kept in an arraylist
 * 
 * @author Fredrik
 *
 */


public class toRemove implements Comparable<toRemove>{
	
	public int index;
	
	public toRemove(int index_){
		index = index_;
	}


	@Override
	/**
	 * Sorts in descending order (for a very good reason)
	 */
	public int compareTo(toRemove arg0) {
		return arg0.index - this.index;
	}
}
